
package icu.d4peng.basic.knife4j.model;

import java.lang.reflect.Method;
import java.util.Set;

import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author d4peng d4peng@qq.com
 * @date 2023-11-25 19:42:44
 */
@Data
public class RestHandlerMapping {

	private static final Logger LOGGER = LoggerFactory.getLogger(RestHandlerMapping.class);

	private String url;

	private Class<?> beanType;

	private Method beanOfMethod;

	private Set<RequestMethod> requestMethods;

	public RestHandlerMapping(String url, Class<?> beanType, Method beanOfMethod, Set<RequestMethod> requestMethods) {
		this.url = url;
		this.beanType = beanType;
		this.beanOfMethod = beanOfMethod;
		this.requestMethods = requestMethods;
	}

	public RestHandlerMapping() {
	}

}
